
//registerMooseObject("MooseApp", EnergyConvectionADKernel);

//InputParameters
//EnergyConvectionADKernel::validParams()
//{
//    auto params = ADKernelGrad::validParams();
//    return params;
//}

//EnergyConvectionADKernel::EnergyConvectionADKernel(const InputParameters& parameters)
//    : ADKernelGrad(parameters),
//    _energy_convection_strong_residual(getADMaterialProperty<RealVectorValue>("energy_convection_strong_residual"))
//{}

//ADRealVectorValue
//EnergyConvectionADKernel::precomputeQpResidual()
//{
//}

#include "EnergyConvectionADKernel.h"

registerMooseObject("TrilobitaApp", EnergyConvectionADKernel);

InputParameters
EnergyConvectionADKernel::validParams()
{
    InputParameters params = ADKernelValue::validParams();
 //   params.addClassDescription("Adds the supg stabilization to the porous temperature/energy equation");
 //   params.set<MaterialPropertyName>("tau_name") = "tau";
    return params;
}

EnergyConvectionADKernel::EnergyConvectionADKernel(const InputParameters& parameters)
    : ADKernelValue(parameters),
    _energy_convection_strong_residual(getADMaterialProperty<Real>("energy_convection_strong_residual"))
{
}

ADReal
EnergyConvectionADKernel::precomputeQpResidual()
{
    return  _energy_convection_strong_residual[_qp];
}
